
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H

/* Includes ------------------------------------------------------------------*/
#include "at32f403a_407.h"
#include <stdio.h>

/* Definition for USARTx - debug */
#define USARTx                           USART1

#define OHOS_APP_RUN(func) \
void ohos_app_main(void) { \
    LOS_TaskDelay(100); \
    printf("\n\033[1;32m<--------------- OHOS Application Start Here --------------->\033[0m\n"); \
    func(); \
}

#endif /* __MAIN_H */

